import httpRequest from '@/utils/request'

export function getOrderRespDTOByOrderSn(orderSn) {
	console.log('getOrderRespDTOByOrderSn接收到的参数:',orderSn); // 添加日志，确认参数是否正确传递
	return httpRequest.request({
		url: `/order/getByOrderSn`,
		method: 'get',
		data: {orderSn}
	});
}

export function generateORCode(orderSn) {
	return httpRequest.request({
		url: `/order/generateORCode`,
		method: 'get',
		params: {orderSn}
	});
}

